import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import {FormsModule} from "@angular/forms";

import {registerLocaleData} from "@angular/common";
import zhCn from "@angular/common/locales/zh-Hans";
registerLocaleData(zhCn,"zh_Hans");

import { AppComponent } from './app.component';
import { FirstComponent } from './components/first/first.component';
import { SecondComponent } from './components/second/second.component';
import { AttrBindComponent } from './components/attr-bind/attr-bind.component';
import { DoubleBindComponent } from './components/double-bind/double-bind.component';
import { PipeComponent } from './components/pipe/pipe.component';
import { ReplacePipe } from './pipes/replace.pipe';

@NgModule({
  declarations: [
    AppComponent,
    FirstComponent,
    SecondComponent,
    AttrBindComponent,
    DoubleBindComponent,
    PipeComponent,
    ReplacePipe
  ],
  imports: [
    BrowserModule,
    FormsModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }
